UniDAC

TUniConnection Methods

Methods of the TUniConnection class.

For a complete list of the TUniConnection class members, see the TUniConnection Members topic.

Public

Name Description

ActiveMacroValueByName

Returns the value of the specified macro for the current provider.

ApplyUpdates (inherited from TCustomDAConnection)

Overloaded. Applies changes in datasets.

AssignConnect

Shares database connection between the TUniConnection components.

Commit (inherited from TCustomDAConnection)

Commits current transaction.

CommitRetaining

Permanently stores all changes of data associated with the default database transaction to the database and then retains the transaction context.

Connect (inherited from TCustomDAConnection)

Establishes a connection to the server.

CreateDataSet

Creates an instance of the TCustomUniDataSet class and assigns its TCustomDADataSet.Connection property.

CreateSQL

Creates an instance of the TUniSQL class and assigns its TUniSQL.Connection property.

CreateTransaction

Creates an instance of the TUniTransaction class and adds itself to its TUniTransaction.Connections.

Disconnect (inherited from TCustomDAConnection)

Performs disconnect.

ExecProc (inherited from TCustomDAConnection)

Allows to execute stored procedure or function providing its name and parameters.

ExecProcEx (inherited from TCustomDAConnection)

Allows to execute a stored procedure or function.

ExecSQL (inherited from TCustomDAConnection)

Executes a SQL statement with parameters.

ExecSQLEx (inherited from TCustomDAConnection)

Executes any SQL statement outside the TQuery or TSQL components.

GetDatabaseNames (inherited from TCustomDAConnection)

Returns a database list from the server.

GetKeyFieldNames (inherited from TCustomDAConnection)

Provides a list of available key field names.

GetStoredProcNames (inherited from TCustomDAConnection)

Returns a list of stored procedures from the server.

GetTableNames (inherited from TCustomDAConnection)

Provides a list of available tables names.

MonitorMessage (inherited from TCustomDAConnection)

Sends a specified message through the TCustomDASQLMonitor component.

ParamByName

Provides access to output parameters and their values after executing an SQL statement with the TCustomDAConnection.ExecSQL method.

Ping (inherited from TCustomDAConnection)

Used to check state of connection to the server.

ReleaseSavepoint

Destroys the specified savepoint without affecting any work that has been performed after its creation.

RemoveFromPool (inherited from TCustomDAConnection)

Marks the connection that should not be returned to the pool after disconnect.

Rollback (inherited from TCustomDAConnection)

Discards all current data changes and ends transaction.

RollbackRetaining

Used to roll back all changes of data associated with the transaction and retain the transaction context.

RollbackToSavepoint

Cancels all updates for the current transaction.

Savepoint

Defines a point in the transaction to which you can later roll back.

StartTransaction

Overloaded. Starts a new transaction at the server.

See Also

© 1997-2024 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback